home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
2_5.lha
/
2_5
/
2_5b.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
421b
|
25 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <stream.h>
include <ctype.h>
include <limits.h>
ifdef TESTC
include "2_5c.c"
else
oid pr(int i)
cout << chr(i) << " " << i << "\n";
endif
nt main(int, char**)
for (unsigned char i = 0; i < CHAR_MAX; i++)
if (isascii(i) && isprint(i))
pr(i);
return 0;